package com.icss.service;

import java.util.List;

import com.icss.model.Item;
import com.icss.model.Manager;
import com.icss.model.User;

public interface UserService {
	//登录
	public User login(User u);
	//查找用户名
	public User findByname(String name);
	//找手机号
	public User findBytel(String tel);
	//注册
	public boolean reg(User u);
	//管理员登录
	public Manager MLogin(String name,String pass);
	//查找特价商品
	public List<Item> findByTe(int id);
	
}
